<div class="reply" id="reply-<?php echo $data->com_id; ?>" cid="<?php echo $data->com_id; ?>" style="width:100%;min-height:100px;">
	<div class="left" style="width:100px;">
	    <span class="left" style="padding-top:20px;">
			<input type="checkbox" name="comment-item" value="<?php echo $data->com_id;?>" />
		</span>
	   	&nbsp;
	   	<?php echo Comment::model()->getCommentIco($data,array(
	   			'name' => $data->com_email.'/-/'.$data->com_ip,
	   			'style' => 'width:60px;'
	   	));?>	
	   	<div style="margin-left:35px;">	
		    <span class="left ui-icon ui-icon-<?php echo $data->com_status==Comment::COMMENT_LOCK?'':'un';?>locked" title="view" name="<?php echo $data->com_id;?>"  id="<?php echo $this->createUrl('comment/update',array('id'=>$data->com_id,));?>"  sid="<?php echo $data->com_status==Comment::COMMENT_LOCK?Comment::COMMENT_PUBLISHED:Comment::COMMENT_LOCK; ?>"  onclick="actionCommentLock($(this));"></span>
		    <span class="left ui-icon ui-icon-trash" title="trash" name="<?php echo $data->com_id;?>"  id="<?php echo $this->createUrl('comment/update',array('id'=>$data->com_id));?>"  onclick="actionCommentTrash($(this));"></span>
	   </div>		
	</div>
	<div style="margin-left:110px;margin-top:0px;padding-top:0px;">
		<?php //UtilTools::dump($data->attributes);?>
		<div class="arc">			 
			<div class="right arc-note">#<?php echo $data->com_rid?$data->com_rid:$data->com_id;?></div>
	       	<div class="arc-content" style="width:100%;">
	       		<span class="arc-note"><?php echo $data->com_author;?>于<?php echo UtilTools::timeop($data->com_create);?>评论说：</span><br />
				<?php echo CHtml::encode($data->com_contents); ?>
				<div class="arc-note">
					<?php echo Yii::t('comment', 'Status：{status}, There are {num} reply to the comment', array(
							'{status}' => Comment::model()->getCommentState($data->com_status),
							'{num}' => count($data->comment)
					));?>

				</div>  
				<input type="text" style="width:90%;padding:5px;background-color:white;color:#e8e8e8;" onfocus="changeInputToTexteara($(this))" class="box reply-input" />
				<textarea class="box reply-texteara" id="<?php echo Comment::model()->generateTextareaId($data);?>" style="margin:0px;margin-bottom:5px;display:none;padding:5px;background-color:white;width:90%;height:50px;" onblur="changeTextAeraToInput($(this))" />
	
	       	</div>
		</div>
	</div>
</div>

